package com.lyz.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("tb_record")
public class Record {
    @TableId
    private String isbn;
    private String name;
    private String borrower;
    @TableField("borrow_time")
    private Date borrowTime;
    private Date deadline;
    @TableField("return_time")
    private Date returnTime;
    private String status;
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;
}
